import type { App } from 'vue'
import directives from '../directives'
import { UseModuleType } from '../enums'

export function install(app: App) {
  directives.forEach((directive: any) => {
    app.directive(directive.name, directive)
  })
}

export const moduleType = UseModuleType.DIRECTIVE
